#!/bin/sh
telnetd_num=`ps | grep -c "telnetd "`
if [ "$telnetd_num" -lt "4" ]; then
	#echo 0 > /sys/class/graphics/fb0/blank
	if [ ! -d "/dev/pts" ]; then
	        mkdir /dev/pts
	        mount -t devpts devpts /dev/pts
	fi
	telnetd -l /bin/sh &
	echo -e "\033[1;33mStart telentd\033[m" > /dev/tty0
fi
